발표자료 {7. Linking} {CSAPP}
Linking
- Static linking at compile time
- Dynamic linking at load time
- Dynamic linking at runtime
Compiler Drivers

Static linking
- Symbol resolution
- Relocation
Object files
- relocatable object files
- executable object files
- shared object files
Relocatable object files

Symbols and Symbol Tables
같은 이름의 다른 함수에 있는 static 변수는 에러 난다? 아니다?
Symbol Resolution
Linker Symbol Entry
Relocation
Executable Object Files

Loading Executable Files

Dynamic Linking with Shared Libraries
-fpic-shared
PIC?
- Position
- Independent
- Code